<?php
return array(
	'URL_ROUTER_ON'   => true, //开启路由
	'URL_ROUTE_RULES' => array( //定义路由规则 
		'page/:module'           => 'Page/detail',//单篇详情
		'about$'                 => 'Page/detail?module=about',//关于我们
		'join_us$'               => 'Page/detail?module=join_us',//加入我们规则
		'help$'                  => 'Page/detail?module=help',//帮助中心
		'faq$'                   => 'Page/detail?module=faq',//常见问题
		'contact_us$'            => 'Page/detail?module=contact_us',//联系我们
		'disclaimer$'            => 'Page/detail?module=disclaimer',//免责声明
		'cooperation$'           => 'Page/detail?module=cooperation',//商务合作
		'article/:article_id\d$' => 'Article/detail',//文章详情规则
		
		'login$'                 => 'Login/index',//用户登录
		'logout'                 => 'User/logout',//退出登录
		'register'               => 'User/register',//用户注册
		'lawyer_register'        => 'User/lawyer_register',//用户注册
		'forget_password'        => 'User/forget_password',//找回密码
		
		'user_center'            => 'User/index',//用户中心
		'user_basic_info'        => 'User/basic_info',//个人信息
		'user_change_mobile'     => 'User/change_mobile',//更换手机号
		'user_upload_head'       => 'User/upload_head',//更换头像
		'user_change_password'   => 'User/change_password',//修改密码
		'user_sso_bind'          => 'User/sso_bind',//绑定设置
		'my_wallet'              => 'UserAccount/index',//我的钱包
		'user_take_out'          => 'UserAccount/take_out',//用户提现
		// 免费合同
		'free_agreement_search'            => 'FreeAgreement/search',// 搜索
		'/^free_agreement\/detail_(\d+)$/' => 'FreeAgreement/detail?agreement_id=:1',//详情
		// 定制合同
		'/^custom_agreement\/detail_(\d+)$/' => 'CustomAgreement/detail?agreement_id=:1',//详情

		// 创业学院
		'/^schools\/detail_(\d+)$/' => 'Schools/detail?article_id=:1',// 创业学院详情规则

		// 知识库
		'/^knowledge\/detail_(\d+)$/' => 'Knowledge/detail?article_id=:1',// 知识库详情规则
		'knowledge/:category_id\d$'   => 'knowledge/index',// 知识库类别规则
		
		
	),
);
